<div id="createDialog" class="crudDialog">
    <form id="SecRolecreateForm" method="post">

        <div class="form-group col-md-12">
            <label class="col-md-2" for="roleName">角色名称</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="roleName" type="text" class="form-control" name="roleName" maxlength="100"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="roleDesc">角色描述</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="roleDesc" type="text" class="form-control" name="roleDesc" maxlength="200"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="roleState">角色状态</label>
            <div class="col-md-8 col-md-offset-2">
                <select id="roleState" class="form-control" name="roleState">
                    <option value="1">正常</option>
                    <option value="0">禁用</option>
                </select>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
        <div class="form-group text-right dialog-buttons">
            <button class="waves-effect waves-button" id="btn-SecRole-submit">保存</button>
            <a class="waves-effect waves-button" href="javascript:;" onclick="createDialog.close();">取消</a>
        </div>
    </form>
</div>